package com.corpgovernment.common.passport.client;

import com.corpgovernment.common.passport.entity.MbPassportWarnInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/***
 * @author zwmao
 * @version 1.0.0
 * @date 2023/10/23
 **/
@FeignClient(name = "organization-manage-server", qualifier = "organizationPassportClient", fallback = OrganizationPassportClientFallBack.class)
public interface OrganizationPassportClient {

    @PostMapping("/ffp/insertWarnInfo")
    boolean insertWarnInfo(@RequestBody MbPassportWarnInfo mbPassportWarnInfo);

    @PostMapping("/ffp/getNameConfirmSwitch")
    boolean getNameConfirmSwitch();
}
